-- CALC_ENERGY_PLATFORM_INIT_ACTION

-- 计算超导充能平台初始action
-- @param user         玩家
-- @param monster      怪物
-- @param args         参数
return function(user, monster, args)
    local element = monster:query("element");
    local dbase = DungeonM.queryElement(element, "dbase");
    if type(dbase["init_cd"]) == "number" and dbase["init_cd"] >= 0 then
        return {["action"] = dbase["init_cd"]};
    end
    return {};
end